package com.shelpe.services.sinbad.repository.jpa;

import org.springframework.data.repository.CrudRepository;

import com.shelpe.services.sinbad.entity.jpa.TaobaoTopCategory;

public interface TaobaoTopCategoryRepository extends CrudRepository<TaobaoTopCategory, Long> {

	TaobaoTopCategory findTopByCategory(String category);

	TaobaoTopCategory findTopByLeafID(long leafID);
}
